package cn.laike.modules.dev.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import cn.laike.common.utils.PageUtils;
import cn.laike.common.utils.Query;

import cn.laike.modules.dev.dao.MobileMessageTemplateDao;
import cn.laike.modules.dev.entity.MobileMessageTemplateEntity;
import cn.laike.modules.dev.service.MobileMessageTemplateService;


@Service("mobileMessageTemplateService")
public class MobileMessageTemplateServiceImpl extends ServiceImpl<MobileMessageTemplateDao, MobileMessageTemplateEntity> implements MobileMessageTemplateService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<MobileMessageTemplateEntity> page = this.selectPage(
                new Query<MobileMessageTemplateEntity>(params).getPage(),
                new EntityWrapper<MobileMessageTemplateEntity>()
        );

        return new PageUtils(page);
    }

}
